package com.example.dell.startproject_122zzy.service;

import com.example.dell.startproject_122zzy.bean.WeatherResult;
import com.example.dell.startproject_122zzy.iface.WeatherIface;
import com.example.dell.startproject_122zzy.model.WeatherModel;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by dell on 2017/3/15.
 */
//Retrofit-2定义接口
public interface   Weather51Service  {
    @GET("GetMoreWeather")
    Call<WeatherResult> getResult(@Query("cityCode") String cityCode,@Query("weatherType") int weatherType);
}
